import { createApp } from 'vue'
// import './style.css'
import '@/style/index.scss'

//全局组件 | elemen图标注册
import galodlComponents from './components'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'
import pinia from './store'

const app = createApp(App)
app.use(galodlComponents)

app.use(ElementPlus)
app.use(pinia)
app.use(router)
//引用路由鉴权
import './permission'

app.mount('#app')

